<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>PintarOS: include/config.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">PintarOS
   </div>
   <div id="projectbrief">Operating System for Smart Card</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Groups</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a>  </div>
  <div class="headertitle">
<div class="title">config.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Common configuration definition.  
<a href="#details">More...</a></p>

<p><a href="config_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a6e8632017dcaec653f86d7c5c724966f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6e8632017dcaec653f86d7c5c724966f"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CONFIG_FS_SIZE</b>&#160;&#160;&#160;512</td></tr>
<tr class="separator:a6e8632017dcaec653f86d7c5c724966f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c64577340dca5ceb7d6c511b2fdffa5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1c64577340dca5ceb7d6c511b2fdffa5"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CONFIG_FS_START</b>&#160;&#160;&#160;64</td></tr>
<tr class="separator:a1c64577340dca5ceb7d6c511b2fdffa5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac67c39148cf3c77299c82fd2f4c0ea1e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac67c39148cf3c77299c82fd2f4c0ea1e"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CONFIG_FS_BLOCK_SIZE</b>&#160;&#160;&#160;2</td></tr>
<tr class="separator:ac67c39148cf3c77299c82fd2f4c0ea1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4493c0cf7aaa85a73373fe4c8d45a4d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa4493c0cf7aaa85a73373fe4c8d45a4d"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CONFIG_FS_FILE_TABLE_SIZE</b>&#160;&#160;&#160;128</td></tr>
<tr class="separator:aa4493c0cf7aaa85a73373fe4c8d45a4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4d796b98c583d49e83adabd74a63bf6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad4d796b98c583d49e83adabd74a63bf6"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>MAX_BUFFER_SIZE</b>&#160;&#160;&#160;32</td></tr>
<tr class="separator:ad4d796b98c583d49e83adabd74a63bf6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a197f53a6155829c6ed05381f466a6c0d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a197f53a6155829c6ed05381f466a6c0d"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>ATR_LEN_ADDR</b>&#160;&#160;&#160;0x0001</td></tr>
<tr class="separator:a197f53a6155829c6ed05381f466a6c0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ac3ca45aaece79f77cdad52dd12141a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4ac3ca45aaece79f77cdad52dd12141a"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>ATR_ADDR</b>&#160;&#160;&#160;0x0002</td></tr>
<tr class="separator:a4ac3ca45aaece79f77cdad52dd12141a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd46c2b34c6f1fe848dbfc870bbeeca9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abd46c2b34c6f1fe848dbfc870bbeeca9"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>ATR_MAXLEN</b>&#160;&#160;&#160;24</td></tr>
<tr class="separator:abd46c2b34c6f1fe848dbfc870bbeeca9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e3a1151ca1875c64ad90bf01c1033aa"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2e3a1151ca1875c64ad90bf01c1033aa"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PIN_ADDR</b>&#160;&#160;&#160;ATR_ADDR+ATR_MAXLEN</td></tr>
<tr class="separator:a2e3a1151ca1875c64ad90bf01c1033aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada8fbdb1ee37b5449c94aa2601579227"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ada8fbdb1ee37b5449c94aa2601579227"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PIN_LEN</b>&#160;&#160;&#160;4</td></tr>
<tr class="separator:ada8fbdb1ee37b5449c94aa2601579227"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f848f21618b54e599958d24c656516c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5f848f21618b54e599958d24c656516c"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PIN_RETRIES_ADDR</b>&#160;&#160;&#160;PIN_ADDR+PIN_LEN</td></tr>
<tr class="separator:a5f848f21618b54e599958d24c656516c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab053a1abc9a56aec112d8edc7c179efd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab053a1abc9a56aec112d8edc7c179efd"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PIN_RETRIES_LEN</b>&#160;&#160;&#160;1</td></tr>
<tr class="separator:ab053a1abc9a56aec112d8edc7c179efd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d8b6ae7a1c5ef072de2ad65e09d83d0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9d8b6ae7a1c5ef072de2ad65e09d83d0"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>PIN_MAX_RETRIES</b>&#160;&#160;&#160;3</td></tr>
<tr class="separator:a9d8b6ae7a1c5ef072de2ad65e09d83d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa40277c9cd142304bc234676a66f26e5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa40277c9cd142304bc234676a66f26e5"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SERNUM_ADDR</b>&#160;&#160;&#160;PIN_RETRIES_ADDR + PIN_RETRIES_LEN</td></tr>
<tr class="separator:aa40277c9cd142304bc234676a66f26e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf832494213b5bb7436b2f1f15a0cc8e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf832494213b5bb7436b2f1f15a0cc8e"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SERNUM_LEN</b>&#160;&#160;&#160;8</td></tr>
<tr class="separator:aaf832494213b5bb7436b2f1f15a0cc8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80cd1331241421fdecaba26fa44f5d0e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a80cd1331241421fdecaba26fa44f5d0e"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RAND_STATE_ADDR</b>&#160;&#160;&#160;(SERNUM_ADDR + SERNUM_LEN)</td></tr>
<tr class="separator:a80cd1331241421fdecaba26fa44f5d0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a502b7c01b1085e0104a24d3b6059ba11"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a502b7c01b1085e0104a24d3b6059ba11"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RAND_STATE_LEN</b>&#160;&#160;&#160;32</td></tr>
<tr class="separator:a502b7c01b1085e0104a24d3b6059ba11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4b65e888b4d5df6c3f946985d2dc93c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac4b65e888b4d5df6c3f946985d2dc93c"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>EXT_AUTH_KEY_ADDR</b>&#160;&#160;&#160;(RAND_STATE_ADDR + RAND_STATE_LEN)</td></tr>
<tr class="separator:ac4b65e888b4d5df6c3f946985d2dc93c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7604d5279c9159eb6c6f76f4c83e1d7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af7604d5279c9159eb6c6f76f4c83e1d7"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>EXT_AUTH_KEY_LEN</b>&#160;&#160;&#160;16</td></tr>
<tr class="separator:af7604d5279c9159eb6c6f76f4c83e1d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a337c62bfc139663340c8d1b972713dc7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a337c62bfc139663340c8d1b972713dc7"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>EXT_AUTH_RETRIES_ADDR</b>&#160;&#160;&#160;(EXT_AUTH_KEY_ADDR + EXT_AUTH_KEY_LEN)</td></tr>
<tr class="separator:a337c62bfc139663340c8d1b972713dc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1e5e8e9e6ba6889b49aa6b24167b1dd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad1e5e8e9e6ba6889b49aa6b24167b1dd"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>EXT_AUTH_RETRIES_LEN</b>&#160;&#160;&#160;1</td></tr>
<tr class="separator:ad1e5e8e9e6ba6889b49aa6b24167b1dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd91758c68d02aa857f9f73ff3e6c2c4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abd91758c68d02aa857f9f73ff3e6c2c4"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>EXT_AUTH_MAX_RETRIES</b>&#160;&#160;&#160;3</td></tr>
<tr class="separator:abd91758c68d02aa857f9f73ff3e6c2c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Common configuration definition. </p>
<dl class="section author"><dt>Author</dt><dd>Ricky Hariady (<a href="#" onclick="location.href='mai'+'lto:'+'ric'+'ky'+'.ha'+'ri'+'ady'+'@e'+'nte'+'r.'+'web'+'.i'+'d'; return false;">ricky<span style="display: none;">.nosp@m.</span>.har<span style="display: none;">.nosp@m.</span>iady@<span style="display: none;">.nosp@m.</span>ente<span style="display: none;">.nosp@m.</span>r.web<span style="display: none;">.nosp@m.</span>.id</a>)</dd></dl>
<dl class="section date"><dt>Date</dt><dd>9/7/2013 </dd></dl>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Jun 4 2014 18:13:31 for PintarOS by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>
